package com.jsb.laundry.service;

import com.jsb.laundry.model.dto.ConductCertificationRequest;
import org.apache.ibatis.annotations.Param;

public interface RealNameAuthenticationService {
    /**
     * 查询用户id
     *
     * @param userId
     * @return
     */
    String findByUserId(String userId);
    /**
     * 进行实名认证
     * @param conductCertificationRequest
     * @return
     */
    int conductCertification(ConductCertificationRequest conductCertificationRequest);

    /**
     * 更新状态
     * @param userId
     * @param authStatus
     * @param resultMsg
     * @return
     */
    int updUserInfoRealNameAuthStatus(@Param("userId") String userId, @Param("authStatus")String authStatus, @Param("resultMsg")String resultMsg);
}
